package comp.wxapi.constants;

public class Constants {
	
	public static final String MP_KEY = "com.qq.weixin.mp";
	public static final String MINIAPP_KEY = "com.qq.weixin.miniapp";
	public static final String OPEN_KEY = "com.qq.weixin.open";
	
	//一下为config配置表key结尾部分
	/**appid*/
	public static final String APPID_KEY = "appID";
	/**appsecret*/
	public static final String APP_SECRET_KEY = "appSecret";
	/**微信推送消息加解密token*/
	public static final String TOKEN_KEY = "token";
	/**微信推送消息加解密encodingAESKey*/
	public static final String ENCODING_AES_KEY_KEY = "encodingAESKey";
	/**微信消息推送事件通知地址*/
	public static final String NOTIFY_URL_KEY = "notifyUrl";
	/**商户号*/
	public static final String PAY_MCHID_KEY = "mchid";
	/**商户秘钥*/
	public static final String PAY_MCHKEY_KEY = "mchKey";
	/**商户证书地址*/
	public static final String PAY_API_CLIENT_CERT_PATH_KEY = "apiClientCertPath";
	/**支付成功通知地址*/
	public static final String PAY_NOTIFY_URL_KEY = "payNotifyUrl";
	/**退款成功通知地址*/
	public static final String PAY_REFUND_NOTIFY_URL_KEY = "refundNotifyUrl";
	//以下为头信息key
	/**appid*/
	public static final String HEADER_APPID = "X-Session-AppId";
	/**appsecret*/
	public static final String HEADER_APP_SECRET = "X-Session-AppSecret";
	/**商户号*/
	public static final String HEADER_MCHID = "X-Session-Mchid";
	/**商户秘钥*/
	public static final String HEADER_MCH_KEY = "X-Session-MchKey";
	/**商户证书地址*/
	public static final String HEADER_API_CLIENT_CERT_PATH = "X-Session-ApiClientCertPath";
	/**用户openid*/
	public static final String HEADER_OPENID = "X-Session-OpenID";
	/**微信推送消息加解密token*/
	public static final String HEADER_TOKEN = "X-Session-Token";
	/**微信推送消息加解密encodingAESKey*/
	public static final String HEADER_ENCODING_AES_KEY = "X-Session-EncodingAESKey";
	/**微信消息推送事件通知地址*/
	public static final String HEADER_NOTIFY_URL = "X-Session-NotifyUrl";
	/**支付成功通知地址*/
	public static final String HEADER_PAY_NOTIFY_URL = "X-Session-PayNotifyUrl";
	/**退款成功通知地址*/
	public static final String HEADER_REFUND_URL = "X-Session-RefundNotifyUrl";
	
	public static final String MP = "MP";
	
	public static final String MINIAPP = "MINIAPP";
	
	public static final String OPEN = "OPEN";
	
	public static final String DEFAULT = "default";
	/**公众号支付通知地址*/
	public static final String MP_DEFUALT_NOFITY_HOST = "/wxapi/mp/pay/notify";
	/**公众号支付通知地址*/
	public static final String MINIAPP_DEFUALT_NOFITY_HOST = "/wxapi/miniapp/pay/notify";
	/**公众号支付通知地址*/
	public static final String MP_DEFUALT_REFUND_NOFITY_HOST = "/wxapi/mp/pay/refund/notify";
	/**公众号支付通知地址*/
	public static final String MINIAPP_DEFUALT_REFUND_NOFITY_HOST = "/wxapi/miniapp/pay/refund/notify";
}
